package com.weixing.mall.provider.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/8/6 14:00
 * @Version 1.0
 */
@Data
@ApiModel(description = "买板供应商")
public class SupplierDto {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "供应商名称")
    @NotNull(message = "供应商名称不能为空")
    private String supplierName;

    @ApiModelProperty(value = "供应商代码")
    @NotNull(message = "供应商daunt不能为空")
    private String supplierSn;

    @ApiModelProperty(value = "供应商联系方式")
    @NotNull(message = "供应商联系方式不能为空")
    private String supplierContact;

    @ApiModelProperty(value = "供应商联系人")
    @NotNull(message = "供应商联系人不能为空")
    private String chargeMan;

    @ApiModelProperty(value = "供应商地址")
    @NotNull(message = "供应商地址不能为空")
    private String supplierAddr;

    @ApiModelProperty(value = "供应商简介")
    @NotNull(message = "供应商名称不能为空")
    private String supplierDesp;

    @ApiModelProperty(value = "供应商状态")
    @NotNull(message = "供应商状态不能为空")
    private Integer supplierStatus;

}
